package com.pinda.feign;

import com.github.pagehelper.PageInfo;
import com.pinda.commonutils.Page;
import com.pinda.work.vo.Pddriverjob_TasktransportView;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "aggregation-service",path = "/pd-driver-job",url = "http://localhost:2001")
public interface PdDriverJobFeignClient {
    /**
     * 远程调用aggregation-service司机作业单的方法
     * @param page
     * @return
     */
    @PostMapping("/drivertakPddriverjobTasktransportcontroller")
    PageInfo<Pddriverjob_TasktransportView> querypdDriverjobController(@RequestBody Page<Pddriverjob_TasktransportView> page);
}
